<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>测试ueditor编辑器</title>
    <link rel="shortcut icon" href="/favicon.ico">
    <script src="/ueditor/ueditor.config.js"></script>
    <script src="/ueditor/ueditor.all.js"></script>
    <script src="/ueditor/lang/zh-cn/zh-cn.js"></script>
</head>
<body>
<form action="/u?action=sub" method="post">
    作者：<input type="text" name="author"><br>
    内容：<script id="container" name="content" type="text/plain"></script>

    <script>

        let cfg = {
            lang:'zh-cn',
            textarea:'user',
            initialContent:'欢迎留言，我们电话是:13014577033',
            autoClearinitialContent:true,
            focus:false,
            initialFrameWidth:1000,
            initialFrameHeight:320,
            emotionLocalization:false,
            elementPathEnabled:false,
            wordCount:false,
            toolbars:[['undo','redo','|', "bold",
                "italic",'map',
                "underline",
                "fontborder", "simpleupload",
                "strikethrough",'forecolor','backcolor','fontsize','link','unlink','|','emotion','help']]
        };
        let ue = UE.getEditor('container');

    </script>
    <input type="submit" value="提交">
</form>
</body>
</html>